import { request } from '../utils/request'

export function materialList(params) {
    return request({
        method: 'post',
        url: 'material/getMaterialList',
        data: params,
    })
}

export function addMaterial(params){
    return request({
        method:'post',
        url:'material/add',
        data:params
    })
}

export function editMaterial(params){
    return request({
        method:'post',
        url:'material/edit',
        data:params
    })
}

export function delOne(params){
    return request({
        method:'post',
        url:'material/delMaterialById',
        data:params
    })
}

export function delMore(params){
    return request({
        method:'post',
        url:'material/delBatch',
        data:params
    })
}

